Skip to content

Commit c7b7457

Browse files
authored
Merge pull request #74 from codecrafters-io/remove-legacy-slug
CC-1227 Remove legacy slug
2 parents 08e6a4c + 9751441 commit c7b7457

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

course-definition.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ marketing:
6868
Enjoying programming all over again. It's been a while since I wrote Rust, but getting a good hang of it.
6969
7070
stages:
71-
- legacy_slug: "init"
72-
slug: "dr6"
71+
- slug: "dr6"
7372
name: "Print page size"
7473
difficulty: very_easy
7574
description_md: |-
@@ -121,8 +120,7 @@ stages:
121120
prints metadata related a SQLite database, and you'll implement one of these values: the database page size. You'll
122121
do this by parsing a file that uses the [SQLite database file format](https://www.sqlite.org/fileformat.html).
123122
124-
- legacy_slug: "table_count"
125-
slug: "ce0"
123+
- slug: "ce0"
126124
name: "Print number of tables"
127125
difficulty: hard
128126
description_md: |-
@@ -166,8 +164,7 @@ stages:
166164
implement functionality to print the number of tables. You'll do this by parsing a file that uses the
167165
[SQLite database file format](https://www.sqlite.org/fileformat.html).
168166
169-
- legacy_slug: "table_names"
170-
slug: "sz4"
167+
- slug: "sz4"
171168
name: "Print table names"
172169
difficulty: hard
173170
description_md: |-
@@ -199,8 +196,7 @@ stages:
199196
[`.tables`](https://www.sqlite.org/cli.html#special_commands_to_sqlite3_dot_commands_). Instead of just printing
200197
the count of tables like in the previous stage, you'll print out the names of tables too.
201198
202-
- legacy_slug: "row_counts"
203-
slug: "nd9"
199+
- slug: "nd9"
204200
name: "Count rows in a table"
205201
difficulty: medium
206202
description_md: |-
@@ -238,8 +234,7 @@ stages:
238234
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form:
239235
`SELECT COUNT(*) FROM <table>`.
240236
241-
- legacy_slug: "read_single_column"
242-
slug: "az9"
237+
- slug: "az9"
243238
name: "Read data from a single column"
244239
difficulty: hard
245240
description_md: |-
@@ -289,8 +284,7 @@ stages:
289284
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form:
290285
`SELECT <column> FROM <table>`.
291286
292-
- legacy_slug: "read_multiple_columns"
293-
slug: "vc9"
287+
- slug: "vc9"
294288
name: "Read data from multiple columns"
295289
difficulty: hard
296290
description_md: |-
@@ -321,8 +315,7 @@ stages:
321315
This stage is similar to the previous one, just that you'll read data from multiple columns instead of just one.
322316
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form: `SELECT <column1>,<column2> FROM <table>`.
323317
324-
- legacy_slug: "where"
325-
slug: "rf3"
318+
- slug: "rf3"
326319
name: "Filter data with a WHERE clause"
327320
difficulty: hard
328321
description_md: |-
@@ -350,8 +343,7 @@ stages:
350343
In this stage, you'll filter records based on a `WHERE` clause. You'll assume that the query can't be served by
351344
an index, so you'll visit all records in a table and then filter out the matching ones.
352345
353-
- legacy_slug: "table_scan"
354-
slug: "ws9"
346+
- slug: "ws9"
355347
name: "Retrieve data using a full-table scan"
356348
difficulty: hard
357349
description_md: |-
@@ -393,8 +385,7 @@ stages:
393385
In this stage, you'll filter records based on a `WHERE` clause. You'll assume that the query can't be served by
394386
an index, so you'll visit all records in a table and then filter out the matching ones.
395387
396-
- legacy_slug: "index_scan"
397-
slug: "nz8"
388+
- slug: "nz8"
398389
name: "Retrieve data using an index"
399390
difficulty: hard
400391
description_md: |-

0 commit comments

Comments
 (0)