mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 15:16:55 +08:00
DEV: Prepare new structure for migrations-tooling (#26631)
* Moves existing files around. All essential scripts are in `migrations/bin`, and non-essential scripts like benchmarks are in `migrations/scripts` * Dependabot configuration for migrations-tooling (disabled for now) * Updates test configuration for migrations-tooling * Shorter configuration for intermediate DB for now. We will add the rest table by table. * Adds a couple of benchmark scripts * RSpec setup especially for migrations-tooling and the first tests * Adds sorting/formatting to the `generate_schema` script
This commit is contained in:
6
migrations/db/schema/001-schema_migrations.sql
Normal file
6
migrations/db/schema/001-schema_migrations.sql
Normal file
@ -0,0 +1,6 @@
|
||||
CREATE TABLE schema_migrations
|
||||
(
|
||||
path TEXT NOT NULL PRIMARY KEY,
|
||||
created_at DATETIME NOT NULL,
|
||||
sql_hash TEXT NOT NULL
|
||||
);
|
Reference in New Issue
Block a user