Skip to content

Commit 5b5f8a4

Browse files
authored
Merge pull request #72 from codecrafters-io/change-slug-to-legacy-slug
CC-1227 Change slug to legacy slug
2 parents 153f719 + 3317a0e commit 5b5f8a4

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

course-definition.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ 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-
- slug: "init"
71+
- legacy_slug: "init"
72+
slug: "init"
7273
name: "Print page size"
7374
difficulty: very_easy
7475
description_md: |-
@@ -120,7 +121,8 @@ stages:
120121
prints metadata related a SQLite database, and you'll implement one of these values: the database page size. You'll
121122
do this by parsing a file that uses the [SQLite database file format](https://www.sqlite.org/fileformat.html).
122123
123-
- slug: "table_count"
124+
- legacy_slug: "table_count"
125+
slug: "table_count"
124126
name: "Print number of tables"
125127
difficulty: hard
126128
description_md: |-
@@ -164,7 +166,8 @@ stages:
164166
implement functionality to print the number of tables. You'll do this by parsing a file that uses the
165167
[SQLite database file format](https://www.sqlite.org/fileformat.html).
166168
167-
- slug: "table_names"
169+
- legacy_slug: "table_names"
170+
slug: "table_names"
168171
name: "Print table names"
169172
difficulty: hard
170173
description_md: |-
@@ -196,7 +199,8 @@ stages:
196199
[`.tables`](https://www.sqlite.org/cli.html#special_commands_to_sqlite3_dot_commands_). Instead of just printing
197200
the count of tables like in the previous stage, you'll print out the names of tables too.
198201
199-
- slug: "row_counts"
202+
- legacy_slug: "row_counts"
203+
slug: "row_counts"
200204
name: "Count rows in a table"
201205
difficulty: medium
202206
description_md: |-
@@ -234,7 +238,8 @@ stages:
234238
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form:
235239
`SELECT COUNT(*) FROM <table>`.
236240
237-
- slug: "read_single_column"
241+
- legacy_slug: "read_single_column"
242+
slug: "read_single_column"
238243
name: "Read data from a single column"
239244
difficulty: hard
240245
description_md: |-
@@ -284,7 +289,8 @@ stages:
284289
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form:
285290
`SELECT <column> FROM <table>`.
286291
287-
- slug: "read_multiple_columns"
292+
- legacy_slug: "read_multiple_columns"
293+
slug: "read_multiple_columns"
288294
name: "Read data from multiple columns"
289295
difficulty: hard
290296
description_md: |-
@@ -315,7 +321,8 @@ stages:
315321
This stage is similar to the previous one, just that you'll read data from multiple columns instead of just one.
316322
In this stage, your sqlite3 implementation will need to execute a SQL statement of this form: `SELECT <column1>,<column2> FROM <table>`.
317323
318-
- slug: "where"
324+
- legacy_slug: "where"
325+
slug: "where"
319326
name: "Filter data with a WHERE clause"
320327
difficulty: hard
321328
description_md: |-
@@ -343,7 +350,8 @@ stages:
343350
In this stage, you'll filter records based on a `WHERE` clause. You'll assume that the query can't be served by
344351
an index, so you'll visit all records in a table and then filter out the matching ones.
345352
346-
- slug: "table_scan"
353+
- legacy_slug: "table_scan"
354+
slug: "table_scan"
347355
name: "Retrieve data using a full-table scan"
348356
difficulty: hard
349357
description_md: |-
@@ -385,7 +393,8 @@ stages:
385393
In this stage, you'll filter records based on a `WHERE` clause. You'll assume that the query can't be served by
386394
an index, so you'll visit all records in a table and then filter out the matching ones.
387395
388-
- slug: "index_scan"
396+
- legacy_slug: "index_scan"
397+
slug: "index_scan"
389398
name: "Retrieve data using an index"
390399
difficulty: hard
391400
description_md: |-

0 commit comments

Comments
 (0)